package com.ruoyi.system.service;

import com.ruoyi.system.pojo.entity.Event;
import com.ruoyi.system.pojo.vo.AllConditionEventVO;
import com.ruoyi.system.pojo.vo.MyPublishEventVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IAgoniEventService {
    List<Event> listEvents();

    List<Event> getEventsByFacilityId(Long facilityId);

    List<AllConditionEventVO> listAllConditionEvents();

    int addEvent(Event event, Long userId);

    List<AllConditionEventVO> getEventByReceiverId(Long receiverId);

    int updateReceiveEvent(Long eventId, Long userId);

    List<MyPublishEventVO> getMyPublishEventList(Long userId);

    int completeEvent(Long eventId);

    List<AllConditionEventVO> listAllConditionEventsWithoutSelf(Long userId);
}
